
export const ACTIVITY_LIST_MAP = [
    {
        name: 'coupon',
        title: '优惠券',
        intro: '领券购物，营销必备',
        icon:'icon_coupon',
        link:'coupon'
    },
    {
        name: 'quota_cut',
        title: '消费满减',
        intro: '满减优惠，轻松成交',
        icon:'icon_quota_cut',
        link:'promotion/quota_cut'
    },
    {
        name: 'discount',
        title: '限时折扣',
        intro: '限时特卖，引流涨粉',
        icon:'icon_discount',
        link:'promotion/discount'
    },
    {
        title: '更多活动',
        intro: '更多玩法，敬请期待',
        icon:'icon_more'
    },
]
// - coupon~优惠券  
// - discount~折扣(单品折扣/整单折扣/会员折扣) 
// - limit~特价(单品特价/整单特价、秒杀)
// - cut~减价(单品减价/满减)
// - quota_cut~满减(多品组合)

export const COUPON_NAME_TYPE = {
    'quota_cut':'满减券',
    'discount':'折扣券'
}

export const COUPON_STATUS = {
    'draft':'未投放',
    'published':'生效中',
    'paused':'已失效',
    'finished':'已结束',
    'closed':'已失效',
}
export const COUPON_STATUS_MAP = [
    {
        label:'未投放',
        value:'draft'
    },
    {
        label:'生效中',
        value:'published'
    },
    {
        label:'已失效',
        value:'paused,closed'
    },
    {
        label:'已结束',
        value:'finished'
    }
]
export const DISTRIBUTE_SCENES_STATUS = {
    'share_qrcode':'扫码领券',
    'public_get':'公开领券',
    'activity':'社群活动领券'
}
export const DISTRIBUTE_SCENES = [
    {
        label:'扫码领券',
        value:'share_qrcode'
    },
    {
        label:'公开领券',
        value:'public_get'
    },
    {
        label:'社群活动领券',
        value:'activity'
    },
]

export const PROMOTION_NAME_TYPE = {
    'quota_cut':'消费满减',
    'discount':'限时折扣'
}
export const PROMOTION_STATUS = {
    'draft':'未生效',
    'published':'生效中',
    'paused':'已失效',
    'finished':'已结束',
    'closed':'已失效',
}
export const PROMOTION_STATUS_MAP = [
    {
        label:'未生效',
        value:'draft'
    },
    {
        label:'生效中',
        value:'published'
    },
    {
        label:'已失效',
        value:'paused,closed'
    },
    {
        label:'已结束',
        value:'finished'
    }
]